using System;
using System.Xml.Schema;
using System.Xml.Serialization;
using flickr.api.communication;

namespace flickr.api
{
    [Serializable]
    public class PhotoInfoOwner : FlickrObject
    {
        public PhotoInfoOwner():base(){}
        public PhotoInfoOwner(FlickrConnection connection) : base(connection){}
        
        [XmlAttribute("nsid", Form=XmlSchemaForm.Unqualified)]
        public string UserId;

        [XmlAttribute("username", Form=XmlSchemaForm.Unqualified)]
        public string UserName;

        [XmlAttribute("realname", Form=XmlSchemaForm.Unqualified)]
        public string RealName;

        [XmlAttribute("location", Form=XmlSchemaForm.Unqualified)]
        public string Location;
    }
}